﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model4Framework;

namespace Model4Data.Test
{
    class Pessoa : Model4Framework.Model4Data.Model
    {
        private int id;
        private string nome;
        private string endereco;
        
        [Model4Framework.Model4Data.Annotations.PrimaryKey()]
        public int Id
        {
            get
            {
                return this.id;
            }
            set
            {
                this.id = value;
            }
        }

        [Model4Framework.Model4Data.Annotations.Field()]
        public string Nome
        {
            get
            {
                return this.nome;
            }
            set
            {
                this.nome = value;
            }
        }

        [Model4Framework.Model4Data.Annotations.Field()]
        public string Endereco
        {
            get
            {
                return this.endereco;
            }
            set
            {
                this.endereco = value;
            }
        }
    }
}
